Organic substitution reactions are classified in several main organic reaction types depending on whether the reagent that brings about the substitution is considered an electrophile or a nucleophile, whether a reactive intermediate involved in the reaction is a carbocation, a carbanion or a substrate is aliphatic or aromatic.